home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-04-16 | 1.4 KB | 36 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 5711400 13-April-90 05:47PDT
-
- From: A0158 F & M College, H Haddon, SPT,PRA
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: Think Pascal bug?
-
- I have been evaluating Think Pascal 3.0 as a possible replacement for MPW in
- MacApp development and so far Think looks very promising. However I did have a
- problem with the sample application Calc which may be due to a Think bug.
-
- When the sample application Calc is run with Think, Calc will bomb if any
- non-empty cells are copied to the clipboard and then Quit is choosen. The
- bomb, usually an address error, bus error, or method not found error, occurred
- at the following lines in the method TCellsView.WriteToScrap in UCalc.p:
-
- with fCalcDocument.GetCell(aCell.v, aCell.h) do
- WriteToScrap(calcScrap, scrapOffset);
-
- I'm using a Mac II with System 6.0.2. The bomb occurred with both MultiFinder
- 6.0.1 and 6.1b9. It bombed with all four of the Calc projects included with
- Think, although the application built with Calc.Build.π didn't bomb every time.
- When I eliminated the "with" statement the bombs went away:
-
- fCalcDocument.GetCell(aCell.v, aCell.h).WriteToScrap(calcScrap,scrapOffset);
-
- Has anyone else run into this or similar problems? Could this be a Think code
- generation bug?
-
- Harry Haddon
-
-
-